//
//  AZCache.h
//  AZNetwork
//
//  Created by GorXion on 2018/4/2.
//  Copyright © 2018年 gaoX. All rights reserved.
//

#import <Foundation/Foundation.h>

@class AZURLRequest;
@interface AZURLCache : NSObject

+ (instancetype)sharedURLCache;

- (void)storeCachedData:(id)data forRequest:(AZURLRequest *)request;

- (id)cachedDataForRequest:(AZURLRequest *)request;

- (void)removeCachedDataForRequest:(AZURLRequest *)request;

- (void)removeAllCachedData;

@end
